import { axios } from '@/utils/request'

const api = {
  upload: '/image/upload'
}

export default api

export function upload (parameter) { // 分类列表
  return axios({
    url: api.upload,
    method: 'post',
    params: parameter
  })
}
